﻿using Felbot.Interaction;
using System;
using System.ComponentModel;
using System.Drawing;
using System.Collections.Generic;
using System.Windows.Forms;
using Felbot.IO;

namespace Felbot {
    /// <summary>A form that allows the user to edit what the bot requires of the syntax of a command.</summary>
    public partial class frmSyntaxEditor : Form {
        frmCommandManager m_Manager;
        XmlCommand m_Command;

        /// <summary>Creates a new syntax editor form.</summary>
        /// <param name="manager">The Command Manager that opened it.</param>
        /// <param name="entry">The entry.</param>
        public frmSyntaxEditor(frmCommandManager manager, XmlCommand command) {
            InitializeComponent();
            m_Manager = manager;
            m_Command = command;
            //LoadGroupsList();
        }

        private void btnDone_Click(object sender, EventArgs e) {
            this.DialogResult = DialogResult.OK;
            this.Close();
        }
    }
}
